
import { http, Method } from "@/utils/request.js";
import api from '@/config/api.js';

export function getUnPayListByRoomId(params){
	return http.request({
	  url: `bill/unPayListByRoomId`,
	  method: Method.GET,
	  data:params
	});
}

export function getMoneySum(params){
	return http.request({
	  url: `bill/moneySum`,
	  method: Method.POST,
	  data:params
	});
}

export function orderPay(params){
	return http.request({
	  url: `pay/initiatePay`,
	  method: Method.POST,
	  data:params
	});
}